/* pages/code/code.wxss */
.code-container {
  padding: 20rpx 20rpx 40rpx;
  min-height: 100vh;
  box-sizing: border-box;

  .text-con {
    margin-top: 10rpx;
    display: flex;
  }

  textarea {
    padding: 10rpx;
    flex: 1;
    height: 300rpx;
    font-size: 32rpx;
    font-family: "Microsoft YaHei";
    resize: none;
    border: 4rpx solid #f9906f;
    border-radius: 16rpx;
  }

  .qr-box {
    padding: 20rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    margin: 40rpx auto 0;
    width: 400rpx;
    height: 400rpx;
    border: 4rpx solid #f9906f;
    border-radius: 16rpx;
    overflow: hidden;

    .code-img {
      width: 100%;
    }
  }

  .btn {
    padding: 0;
    position: absolute;
    bottom: 100rpx;
    left: 50%;
    transform: translateX(-50%);
    width: 520rpx;
    height: 88rpx;
    color: #fff;
    font-size: 32rpx;
    text-align: center;
    line-height: 88rpx;
    background-color: #f9906f;
    border: none;
    border-radius: 16rpx;
  }
}